/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.oimwrapper.testers;

import com.thortech.util.logging.Logger;
import java.util.Map;
import org.junit.Test;
import org.oimwrapper.connectors.OIMAdapterBase;
import org.oimwrapper.connectors.OIMRemoteClientBase;

/**
 *
 */
public class ClientITResourceTester extends ClientBaseTester {

    private static final Logger logger = Logger.getLogger(ClientITResourceTester.class.getName());
    
    @Test
    public void mainTest()
    {
        OIMRemoteClientBase client = null;
        OIMAdapterBase apiBase = null;

        try
        {
            client = this.connect();
            apiBase = client.getUtils();
        }
        catch(Exception e)
        {
            logger.error("Connection Failed",e);
            return;
        }

        try
        {
            Map itRes = apiBase.getITResData("TEST Resource");
            logger.debug("IT Resource Data " + itRes);
        }
        catch(Exception e)
        {

        }
    }

}
